package tjs.study.notes.dotest.disruptor.apiLog.bean;

/**
 * Created by Nicky.Tang on 2022/9/29 下午2:10
 *
 * @since 02.12.10
 */
public class ApiLogModelWriteDto {
    //@ApiModelProperty("记录id")
    private String id;
    //@ApiModelProperty("accessKey")
    private String accessKey;
    //@ApiModelProperty("调用方")
    private String accessKeyName;
    //@ApiModelProperty("url")
    private String url;
    //@ApiModelProperty("开始时间（毫秒时间戳）")
    private Long startTime;
    //@ApiModelProperty("耗时（毫秒）")
    private Long spendTime;
    //@ApiModelProperty("1-成功 2-失败")
    private Integer resultStatus;

    //@ApiModelProperty("请求报文")
    private String requestJson;
    //@ApiModelProperty("响应报文")
    private String responseJson;

    private Long createTime;


    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getRequestJson() {
        return requestJson;
    }

    public void setRequestJson(String requestJson) {
        this.requestJson = requestJson;
    }

    public String getResponseJson() {
        return responseJson;
    }

    public void setResponseJson(String responseJson) {
        this.responseJson = responseJson;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getAccessKeyName() {
        return accessKeyName;
    }

    public void setAccessKeyName(String accessKeyName) {
        this.accessKeyName = accessKeyName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(Long spendTime) {
        this.spendTime = spendTime;
    }

    public Integer getResultStatus() {
        return resultStatus;
    }

    public void setResultStatus(Integer resultStatus) {
        this.resultStatus = resultStatus;
    }
}
